package com.wifi.books.service;

import com.wifi.books.entity.BookEntity;
import com.wifi.unti.StringUtil;

import java.sql.SQLException;
import java.util.List;

public interface IBookService {
    List<Object> queryBookList(Integer start, Integer pageSize) throws SQLException;
    Integer booksCount();
    BookEntity queryBookByBookId(Integer bookId);
    Integer updateBook(Integer bid, BookEntity book);
    Integer addBook(BookEntity bookEntity);
    List<Object> queryBookByInfo(String bookInfo);
    List<Object> queryBookByType(Integer ftypeId,Integer start ,Integer pageSize);
    List<Object> queryBookByTwoType (Integer ftypeId,Integer stypeId,Integer start ,Integer pageSize);
}
